<@master template="master/master-loan"  title="银行申报审查放款金额">
<div class="detaiTab  detaiTab1">
<#assign flag=flag />
<form  action="/ptt/reportStatByBankLimit" id="afterloanform" class="clearfix action-ajax-form-valid" data-action-html="#action_load_body">
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	    <tr>
            <td class="bg"></td>
            <td >
            	<@permission permissionName="queryBankLimit">
	                <input type="submit" value="查询" class="btn_auto_30 btn_blue" />
            	</@permission>
            	<@permission permissionName="downloadBankLimit">
	            	<#if flag==null>
	            		<span><a onclick="return false" href="#" target="_blank" class="btn_auto_30 btn_gray" >导出</a><span class=" fs14" style="color: red;" >【请先查询后再导出报表】</span><font class="red ml10"> ${errorMessage}</font></span>
	            	<#else>
						<span><a href="/ptt/downloadBankLimit" target="_blank" class="btn_auto_30 btn_blue" >导出</a><span class=" fs14" style="color: red;" >【请先查询后再导出报表】</span><font class="red ml10"> ${errorMessage}</font></span>
					</#if>
				</@permission>
				</br>
            </td>
        </tr>
        <tr>
        </tr>
	 </table>
	</form>
</div>
<#if flag==null >
	<div id="o2o_bank_limit"  class="action-ajax-load mt20" data-url="${o2ourl}" style="display:none;"></div>
<#else>
	<div id="o2o_bank_limit"  class="action-ajax-load mt20" data-url="${o2ourl}"></div>
</#if>
</@master>



